package StructuralPattern.AdapterPattern.ClassAdapterPattern;


import StructuralPattern.AdapterPattern.ClassAdapterPattern.Interfase.AdvancedMediaPlayer;

// 高级播放器实现
class Mp4Player implements AdvancedMediaPlayer {
    @Override
    public void playMp4(String fileName) {
        System.out.println("Playing mp4 file. Name: " + fileName);
    }

    @Override
    public void playVlc(String fileName) {
        // 不支持 VLC 格式
    }
}